package com.example.mymatch.dao;

import com.example.mymatch.model.Checkwork;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 编写者：杨滢
 */

@Mapper
public interface ICheckwork {
    //添加考勤信息
    int insertCheckwork(Checkwork checkwork);
    //添加考勤信息
    int updateCheckwork(Checkwork checkwork);
    //删除考勤信息
    int deleteCheckwork(Checkwork checkwork);
    //考勤查询
    List<Checkwork> getAllCheckwork(Checkwork checkwork);
    //查询单条考勤数据
    Checkwork getCheckwork(Checkwork checkwork);
}
